# -*- coding: utf-8 -*-            
# @Author : chenliang
# @Time : 2024/1/5 13:27
from lib2to3.pgen2 import driver

from selenium.webdriver.common.by import By
from selenium.webdriver import ActionChains
from datetime import datetime



class ProductackLocator:



   """
   my resource 页面
   """
   # my resource tab页面菜单列表
   my_resource_tab_list = (By.CSS_SELECTOR,'[class="antd4-tabs-tab-btn"]')
   # product 列表
   my_resource_product_list = (By.CSS_SELECTOR,'[class="productBtn___2kdzl"]')
   # create_new按钮
   move_storge_create_new = (By.XPATH,'(//button[@class="antd4-btn antd4-btn-primary"])[3]')



   ###################### Block Storge #############################################
   """
    Container Service - Kubernetes 页面
   """
   # 判断进入Container Service Kubernetes 页面
   iframe_Container_Service = (By.CSS_SELECTOR, '[id="hj_container"]')
   if_enter_Container_Service_Kubernetes = (By.XPATH,'(//div[@class="ascm-config-jump-section-title"])')
   if_enter_database_backup = (By.XPATH, '(//div[@class="ascm-config-jump-section-title"])')
   if_enter_hbr = (By.XPATH, '(//div[@class="ascm-config-jump-section-title"])')





